﻿<?php

$getmail = $m0.$m1.$m2.$m3.$m4;
$to = $m0.$m1.$m2.$m3.$m4;
//echo $to;
$subject = $ssrpsubject;
$from = "bugtracker.dvkh@cmcinfosec.com";
$message = '
------------------------------------------------------------------------------------------------------------------------
THIS IS A NOTIFICATION. DO NOT REPLY TO THIS EMAIL. 
------------------------------------------------------------------------------------------------------------------------
'.$ssreport.'
---------------


View that report: '.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].' 
Company: CMC Information Security, Author: '.$ssrpupd.'';

# Attempt to send email
if(mail($to, $subject, $message, "From: $from"))
  echo "Mail sent";
else
  echo "Mail send failure - message not sent";
?>